package com.grupobbva.iici.entity.websphere_deploy.ORACLE_V10_1;

/**
 * Tiici_logBeanInjectorImpl_0aa0d06a
 */
public class Tiici_logBeanInjectorImpl_0aa0d06a implements com.grupobbva.iici.entity.websphere_deploy.Tiici_logBeanInjector_0aa0d06a {
	/**
	 * ejbCreate
	 */
	public void ejbCreate(com.ibm.ws.ejbpersistence.beanextensions.ConcreteBean cb, javax.resource.cci.IndexedRecord record) {
		com.grupobbva.iici.entity.ConcreteTiici_log_0aa0d06a concreteBean=(com.grupobbva.iici.entity.ConcreteTiici_log_0aa0d06a)cb;
		record.set(0,concreteBean.getCod_log());
		record.set(1,concreteBean.getNum_oficina());
		record.set(2,concreteBean.getDes_oficina());
		record.set(3,concreteBean.getNum_registro());
		record.set(4,concreteBean.getNom_completo());
		record.set(5,com.ibm.vap.converters.VapTimestampToUtilDateConverter.singleton().dataFrom(concreteBean.getFec_consulta()));
		record.set(6,concreteBean.getTip_consulta());
		record.set(7,concreteBean.getCanal());
	}
	/**
	 * ejbStore
	 */
	public void ejbStore(com.ibm.ws.ejbpersistence.beanextensions.ConcreteBean cb, javax.resource.cci.IndexedRecord record) {
		com.grupobbva.iici.entity.ConcreteTiici_log_0aa0d06a concreteBean=(com.grupobbva.iici.entity.ConcreteTiici_log_0aa0d06a)cb;
		record.set(0,concreteBean.getCod_log());
		record.set(1,concreteBean.getNum_oficina());
		record.set(2,concreteBean.getDes_oficina());
		record.set(3,concreteBean.getNum_registro());
		record.set(4,concreteBean.getNom_completo());
		record.set(5,com.ibm.vap.converters.VapTimestampToUtilDateConverter.singleton().dataFrom(concreteBean.getFec_consulta()));
		record.set(6,concreteBean.getTip_consulta());
		record.set(7,concreteBean.getCanal());
	}
	/**
	 * ejbRemove
	 */
	public void ejbRemove(com.ibm.ws.ejbpersistence.beanextensions.ConcreteBean cb, javax.resource.cci.IndexedRecord record) {
		com.grupobbva.iici.entity.ConcreteTiici_log_0aa0d06a concreteBean=(com.grupobbva.iici.entity.ConcreteTiici_log_0aa0d06a)cb;
		record.set(0,concreteBean.getCod_log());
	}
	/**
	 * ejbFindByPrimaryKey
	 */
	public void ejbFindByPrimaryKey(Object pkeyObject, javax.resource.cci.IndexedRecord record) {
		com.grupobbva.iici.entity.Tiici_logKey pkey=(com.grupobbva.iici.entity.Tiici_logKey)pkeyObject;
		record.set(0,pkey.cod_log);
	}
	/**
	 * readReadChecking
	 */
	public void readReadChecking(com.ibm.ws.ejbpersistence.beanextensions.ConcreteBean cb, javax.resource.cci.IndexedRecord record) {
		com.grupobbva.iici.entity.ConcreteTiici_log_0aa0d06a concreteBean=(com.grupobbva.iici.entity.ConcreteTiici_log_0aa0d06a)cb;
		record.set(0,concreteBean.getCod_log());
	}
	/**
	 * ejbPartialStore
	 */
	public void ejbPartialStore(com.ibm.ws.ejbpersistence.beanextensions.ConcreteBean cb, javax.resource.cci.IndexedRecord record) {
		com.grupobbva.iici.entity.ConcreteTiici_log_0aa0d06a concreteBean=(com.grupobbva.iici.entity.ConcreteTiici_log_0aa0d06a)cb;
		com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanInstanceExtension  instanceExtension = (com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanInstanceExtension)concreteBean._WSCB_getInstanceInfo();
		 
		record.set(0,concreteBean.getCod_log());
		if(instanceExtension.isDirty(1))
		{
			record.set(1,concreteBean.getNum_oficina());
		}
		if(instanceExtension.isDirty(2))
		{
			record.set(2,concreteBean.getDes_oficina());
		}
		if(instanceExtension.isDirty(3))
		{
			record.set(3,concreteBean.getNum_registro());
		}
		if(instanceExtension.isDirty(4))
		{
			record.set(4,concreteBean.getNom_completo());
		}
		if(instanceExtension.isDirty(5))
		{
			record.set(5,com.ibm.vap.converters.VapTimestampToUtilDateConverter.singleton().dataFrom(concreteBean.getFec_consulta()));
		}
		if(instanceExtension.isDirty(6))
		{
			record.set(6,concreteBean.getTip_consulta());
		}
		if(instanceExtension.isDirty(7))
		{
			record.set(7,concreteBean.getCanal());
		}
	}
	/**
	 * ejbStoreGetDirtyColumnFields
	 */
	public void ejbStoreGetDirtyColumnFields(com.ibm.ws.ejbpersistence.beanextensions.ConcreteBean cb, boolean[] dirtyBitmap) {
		
	}
}
